package com.fq.modules.sys.role.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serial;
import java.io.Serializable;
import java.util.Date;

/**
 * @Author 超chao
 * @Description 角色传输类
 * @Date 2024/10/14/周一 11:09
 * @Version 1.0
 */
@Data
@ApiModel(value="角色传输类", description="角色传输类")
public class SysRoleDTO implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "角色ID", required=true,example = "super_admin")
    @NotBlank(message = "角色ID不能为空")
    private String id;

    @ApiModelProperty(value = "角色名称", required=true,example = "超级管理员")
    @NotBlank(message = "角色名称不能为空")
    private String roleName;

    @ApiModelProperty(value = "备注信息")
    private String remark;

    @ApiModelProperty(value = "角色状态 0正常 1禁用")
    private Integer roleState;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "数据标识")
    private Integer dataFlag;

}
